package main
import (
	"fmt"
	"time"
)

func printNum() {
	i:=0;
	fmt.Println(i);

	time.Sleep(1000*time.Millisecond)
	i++
	fmt.Println(i);

	time.Sleep(1000*time.Millisecond)
	i++
	fmt.Println(i);
}

func printWord() {
	words:=[]string{"hello","world","routines"}

	i:=0;
	fmt.Println(words[i]);

	time.Sleep(1000*time.Millisecond)
	i++
	fmt.Println(words[i]);

	/*
	time.Sleep(1000*time.Millisecond)
	i++
	fmt.Println(words[i]);
	*/
}

func main() {
	go printNum()
	printWord()
}
